package it.unibo.mycruise.boat.presentation.swing;

import it.unibo.convoycruisecontrol.boatsubsystem.IDashboard;
import it.unibo.mycruise.boat.Dashboard;

import javax.swing.JFrame;

public class DashboardFrame extends JFrame 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public DashboardFrame(DashboardView dashView)
	{
		setTitle("Boat Dashboard");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		add(dashView);
		pack();
		setVisible(true);
	}
}
